package com.wrench.elevator.tida.domain.wuye;

import java.util.ArrayList;
import java.util.List;

/**
 * web前端需要的傻逼格式
 */
public class WebUIFormatData {
    /**
     * 显示的
     */
    private String title;
    /**
     * 值
     */
    private String value;
    /**
     * 不知道什么鸡吧玩意儿 ？？ 默认false
     */
    private boolean disabled = false;
    /**
     * true为选中，默认false
     */
    private boolean checked = false;
    /**
     * 下级列表,默认给个空列表 呵呵呵哒
     */
    private List<WebUIFormatData> data=new ArrayList<>();

    private String name;

    public WebUIFormatData() {
    }

    public WebUIFormatData(String title, String value, boolean disabled, boolean checked, List<WebUIFormatData> data, String name) {
        this.title = title;
        this.value = value;
        this.disabled = disabled;
        this.checked = checked;
        this.data = data;
        this.name = name;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public boolean isDisabled() {
        return disabled;
    }

    public void setDisabled(boolean disabled) {
        this.disabled = disabled;
    }

    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    public List<WebUIFormatData> getData() {
        return data;
    }

    public void setData(List<WebUIFormatData> data) {
        this.data = data;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
